import React from 'react'
import ChartBar from './components/ChartBar'
export default function App() {
  let optionsData={
    xkey:['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子'],
    ykey:[5, 20, 36, 10, 10, 20]
  }

  let optionsData1={
    xkey:['雪花', '青岛', '乌苏'],
    ykey:[5, 20, 36]
  }
  return (
    <div>
       <ChartBar optionsData={optionsData} height={"380px"} seriesName="销量" title="MIShow10份销售情况"></ChartBar>

       <ChartBar optionsData={optionsData1} height={"180px"} seriesName="销量" title="MIShow10份销售情况" id="show-id"></ChartBar>
    </div>
  )
}
